package xl.com.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

// 步骤7：定义数据模型
@Data
@AllArgsConstructor
public
class ChatRequest {
    private String model;
    private List<XlMessage> messages;
    private List<XLFunction> tools;
    private double temperature;
    @JsonProperty("tool_choice")
    private String toolChoice="auto";
}